package com.trimps.steps.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.trimps.steps.pojo.WalkerGroup;

public interface WalkerGroupMapper {
    public List<WalkerGroup> getWalkerGroups(@Param("currentPage") int currentPage, @Param("rowPerPage")  int rowPerPage);

    public int getWalkerGroupCount();

    public int save(@Param("walkerGroup") WalkerGroup walkerGroup);

    public List<WalkerGroup> getWalkerGroupByUserId(@Param("userId") int userId);

    public int delById(@Param("groupId") int groupId);
}
